package com.app.service;

import com.app.model.UserIntegralModel;
import com.app.model.UserModel;
import com.app.vo.UserVo;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.security.auth.login.LoginException;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface UserService {
    UserModel wxLogin(String code, String mobileCode, HttpServletRequest request) throws LoginException;

    UserModel getUserByMobile(String mobile1);

    void updateUserInfo(UserModel user);

    UserModel updateAvatar(UserModel model);

    UserVo selectUserList(Integer page,Integer limit,String name,Integer villageId,Integer auditStatus);

    List<UserIntegralModel> selectIntegral(Integer id);

    UserModel selectUserById(Integer id);

    UserModel getUserByOpenid(String mobile);

    void updateAuditStatus(Integer id, Integer auditStatus,String remark);
}
